package com.crm.common.crm.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 联系人表
 * </p>
 *
 * @author zhangzhiwei
 * @since 2020-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bill_crm_contacts")
@ApiModel(value="CrmContacts对象", description="联系人表")
public class CrmContacts implements Serializable {

    private static final long serialVersionUID=1L;


    @TableId(value = "contacts_id", type = IdType.AUTO)
    private Integer contactsId;

    @ApiModelProperty(value = "联系人名称")
    private String name;

    @ApiModelProperty(value = "下次联系时间")
    private Date nextTime;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "职务")
    private String post;

    @ApiModelProperty(value = "客户ID")
    private Integer customerId;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    @ApiModelProperty(value = "负责人ID")
    private Long ownerUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "批次")
    private String batchId;


    @ApiModelProperty(value = "最后跟进时间")
    private Date lastTime;

    @TableField(exist = false)
    private String policymakers;

    @ApiModelProperty(value = "VIP期数")
    private String vipPeriods;

    @ApiModelProperty(value = "回款状态")
    private String backStatus;

    @ApiModelProperty(value = "复购")
    private String afterPurchase;

    @ApiModelProperty(value = "转介绍")
    private String turnIntroduce;

    @ApiModelProperty(value = "转介绍人")
    private String turnReferral;

    @ApiModelProperty(value = "转期")
    private String refunding;

    @ApiModelProperty(value = "转前期数")
    private String turnEarlyNumber;

    @ApiModelProperty(value = "重学")
    private String relearn;

    @ApiModelProperty(value = "休学")
    private String suspensionSchooling;

    @ApiModelProperty(value = "qq")
    private String qq;

    @ApiModelProperty(value = "微信号")
    private String wechat;

    @ApiModelProperty(value = "系统编号")
    private String serialNumber;

    @ApiModelProperty(value = "训练营期数")
    private String trainingPeriods;

    @ApiModelProperty(value = "数据来源")
    private String dataFrom;

    @ApiModelProperty(value = "联系人数据类型")
    private String contactsDataType;

    @ApiModelProperty(value = "类型")
    private String contactsType;

    @ApiModelProperty(value = "是否定稿")
    private String isFinalized;
    @ApiModelProperty(value = "派单数量")
    private int sendSingleNum;

    @ApiModelProperty(value = "派单定稿数量")
    private int finalizedNum;

    @ApiModelProperty(value = "重修前期数")
    private String relearnPeriods;

    @ApiModelProperty(value = "学习目的")
    private String learningPurpose;

    @ApiModelProperty(value = "目前状态")
    private String currentStatus;

    @ApiModelProperty(value = "期待课程")
    private String expectationCourse;

    @ApiModelProperty(value = "报名因素")
    private String registrationFactors;

    @ApiModelProperty(value = "可支配时间")
    private String disposableTime;

    @ApiModelProperty(value = "目前就业城市")
    private String currentCity;

    @ApiModelProperty(value = "目前就业企业规模")
    private String enterpriseScale;

}
